package org.softmed.rest.config;

import org.softmed.rest.config.Handler;

public class MimeTypeHandler {
	Long id;

	String mimeType;
	Handler handler;
	boolean active = true;

	public MimeTypeHandler() {

	}

	public MimeTypeHandler(String mimeType, Handler handler) {
		this.mimeType = mimeType;
		this.handler = handler;
	}

	public String getMimeType() {
		return mimeType;
	}

	public void setMimeType(String mimeType) {
		this.mimeType = mimeType;
	}

	public Handler getHandler() {
		return handler;
	}

	public void setHandler(Handler handler) {
		this.handler = handler;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

}
